package com.dehui.traders.enums;

import com.dehui.traders.R;
import com.dehui.traders.ui.home.HomeFragment;
import com.dehui.traders.ui.news.InfomationFragment;
import com.dehui.traders.ui.market.MarketFragment;
import com.dehui.traders.ui.me.MeFragment;

/**
 * Created by hqq on 18.3.30.
 */

public enum MainTab {

    HOME(0, R.string.main_tab_home, R.drawable.tab_home_s, HomeFragment.class),
    MARKET(1, R.string.main_tab_market, R.drawable.tab_market_s, MarketFragment.class),
    ME(2, R.string.main_tab_system, R.drawable.tab_me_s, MeFragment.class);

    public int idx;
    public int resName;
    public int resIcon;
    public Class<?> clz;

    MainTab(int idx, int resName, int resIcon, Class<?> clz) {
        this.idx = idx;
        this.resName = resName;
        this.resIcon = resIcon;
        this.clz = clz;
    }

}